package com.gtxy.yyf.doris.service.impl;

import com.gtxy.yyf.doris.mapper.CategoryMapper;
import com.gtxy.yyf.doris.mapper.YyfPmAgetInfoSrMapper;
import com.gtxy.yyf.doris.pojo.YyfPmAgetInfoSr;
import com.gtxy.yyf.doris.service.YyfPmAgetInfoSrService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @PackageName: com.gtxy.yyf.doris.service.impl
 * @author: youjp
 * @slogan: 天下风云出我辈，一入代码岁月催
 * @create: 2022-06-11 15:38
 * @description:
 * @Version: 1.0
 */
@Service
@Transactional(rollbackFor = Throwable.class)
public class YyfPmAgetInfoSrServiceImpl implements YyfPmAgetInfoSrService {

    @Autowired
    YyfPmAgetInfoSrMapper yyfPmAgetInfoSrMapper;

    /**
     * 查询列表
     * @return
     */
    @Override
    public List<YyfPmAgetInfoSr> findALl() {
        return yyfPmAgetInfoSrMapper.findAll();
    }
}
